﻿# -*- coding:utf-8 -*-
#
# Компьютерная техника
#
# Create your views here.
#
from django.template import RequestContext, Context
from django.shortcuts import render_to_response

from comp.models import ModelType

def render_to(request, template, context):
    context_extra = Context({

    })
    return render_to_response('comp/'+template, context, context_instance=RequestContext(request, context_extra))


def index(request):
    pass




def get_param_import(request):
    
    list = ModelType.objects.all()
    
    context = Context({
        'list': list,
    })
    return render_to(request, 'getparamimport.html', context)



